<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
	<style type="text/css">
		.box{
			width: 400px;
			height: 400px;
			display: flex;
			flex-wrap: wrap;
			margin: 0 auto;
			animation: one 1000s linear ;
		}
		.item1{
			width: 0;
			height: 0;
			border-left:100px solid transparent ;
			border-right:100px solid transparent ;
			border-bottom: 100px solid pink;
			border-top:100px solid transparent ;
		}
		.item2{
			width: 0;
			height: 0;
			border-top:100px solid transparent ;
			border-bottom:100px solid transparent ;
			border-left: 100px solid yellow;
			border-right:100px solid transparent ;
		}
		.item3{
			width: 0;
			height: 0;
			border-top:100px solid transparent ;
			border-bottom:100px solid transparent ;
			border-right: 100px solid skyblue;
			border-left:100px solid transparent ;

		}
		.item4{
			width: 0;
			height: 0;
			border-left:100px solid transparent ;
			border-right:100px solid transparent ;
			border-top: 100px solid red;
			border-bottom:100px solid transparent ;
		}
		@keyframes one{
			0%{
				transform: rotate(0deg);
			}
			100%{
				transform: rotate(360000deg);
			}
			
		}
	</style>
</head>
<body>
		<div class="box">
			<div class="item1"></div>
			<div class="item2"></div>
			<div class="item3"></div>
			<div class="item4"></div>		
		</div>

</body>
</html>